package org.sy.lab.Java7并发编程实战.四线程执行器.七在执行器中周期性执行任务;

import java.util.Date;

public class Task implements Runnable {
	private String name;
	public Task(String name) {
		this.name = name;
	}
	@Override
	public void run() {
		System.out.printf("%s: Starting at : %s\n", name, new Date());
	}
}
